Skip to content

Reload TOML configs on "Show Info" and "Start Match"#112

Open
Martico2432 wants to merge 3 commits into
RLBot:masterfrom
Martico2432:master
Open

Reload TOML configs on "Show Info" and "Start Match"#112
Martico2432 wants to merge 3 commits into
RLBot:masterfrom
Martico2432:master

Conversation

@Martico2432
Copy link
Copy Markdown

Refresh bots and scripts toml files when:

  • Bot/Script Info button is clicked
  • A new match is started using the Start Match button
20260602-1634-20.9363412.mp4
20260602-1633-09.9525721.mp4

@VirxEC
Copy link
Copy Markdown
Contributor

VirxEC commented Jun 2, 2026

Building with pnpm 11 currently fails, also the gui currently uses gtk 3 and not 4... let's keep this PR focused on just reloading the TOMLs, if anything please make the workflow a different PR, but I was going to make a workflow after I verified my update to all the GUI deps in #113

@Martico2432
Copy link
Copy Markdown
Author

Oh, bruh, one thing i was testing leaked here

@Martico2432
Copy link
Copy Markdown
Author

Ok, I just forced push my local version without those commits, now it's correct

Copy link
Copy Markdown
Contributor

@NicEastvillage NicEastvillage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reloading ALL bots/scripts and not just relevant wants becomes a noticeable delay once you have ~10 bots. I would really prefer if we could only reload the relevant one(s).

rlbot-gui-reload-delay.mp4

@Martico2432
Copy link
Copy Markdown
Author

Reloading ALL bots/scripts and not just relevant wants becomes a noticeable delay once you have ~10 bots. I would really prefer if we could only reload the relevant one(s).

rlbot-gui-reload-delay.mp4

I'll go work on this right now, trying to have a better implementation

@Martico2432
Copy link
Copy Markdown
Author

Ok, now it should work only on clicking info. Working on having Start Match reload relevant scripts and bots too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants